package cn.shopping.service.impl.classification;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.shopping.dao.classification.ClassificationMapper;
import cn.shopping.pojo.Sh_one;
import cn.shopping.pojo.Sh_three;
import cn.shopping.pojo.Sh_two;
import cn.shopping.service.classification.ClassificationService;
@Service
public class ClassificationServiceImpl implements ClassificationService {

	@Autowired
	private ClassificationMapper classificationMapper;

	@Override
	public List<Sh_one> getClassificationlist() {
		// TODO Auto-generated method stub
		return classificationMapper.getClassificationlist();
	}

	@Override
	public int getName(String one_name) {
		// TODO Auto-generated method stub
		return classificationMapper.getName(one_name);
	}

	@Override
	public int add_One_Classificatio(Sh_one one) {
		// TODO Auto-generated method stub
		return classificationMapper.add_One_Classificatio(one);
	}

	@Override
	public Sh_one get_One_Classification(Integer id) {
		// TODO Auto-generated method stub
		return classificationMapper.get_One_Classification(id);
	}

	@Override
	public int del_One_Classification(Integer one) {
		// TODO Auto-generated method stub
		return classificationMapper.del_One_Classification(one);
	}

	@Override
	public int update_One_Classification(Sh_one one) {
		// TODO Auto-generated method stub
		return classificationMapper.update_One_Classification(one);
	}

	@Override
	public Sh_two get_two_Classification(Integer id) {
		// TODO Auto-generated method stub
		return classificationMapper.get_two_Classification(id);
	}

	@Override
	public int add_two_Classification(Sh_two two) {
		// TODO Auto-generated method stub
		return classificationMapper.add_two_Classification(two);
	}

	@Override
	public List<Sh_two> two_Classificationlist() {
		// TODO Auto-generated method stub
		return classificationMapper.two_Classificationlist();
	}

	@Override
	public int del_two_Classificationlist(Integer two_id) {
		// TODO Auto-generated method stub
		return classificationMapper.del_two_Classificationlist(two_id);
	}

	@Override
	public Sh_two get_two_id_Classification(Integer two_id) {
		// TODO Auto-generated method stub
		return classificationMapper.get_two_id_Classification(two_id);
	}

	@Override
	public int update_two_Classification(Sh_two two) {
		// TODO Auto-generated method stub
		return classificationMapper.update_two_Classification(two);
	}

	@Override
	public Sh_three get_tow_id_add_three(Integer two_id) {
		// TODO Auto-generated method stub
		return classificationMapper.get_tow_id_add_three(two_id);
	}

	@Override
	public int add_three_Classification(Sh_three three) {
		// TODO Auto-generated method stub
		return classificationMapper.add_three_Classification(three);
	}


	@Override
	public List<Sh_three> three_Classification() {
		// TODO Auto-generated method stub
		return classificationMapper.three_Classification();
	}

	@Override
	public int del_three_Classification(Integer three_id) {
		// TODO Auto-generated method stub
		return classificationMapper.del_three_Classification(three_id);
	}

	@Override
	public Sh_three get_three_Classification(Integer three_id) {
		// TODO Auto-generated method stub
		return classificationMapper.get_three_Classification(three_id);
	}

	@Override
	public int count_three_name(String three_name) {
		// TODO Auto-generated method stub
		return classificationMapper.count_three_name(three_name);
	}

	@Override
	public int update_three_Classification(Sh_three three) {
		// TODO Auto-generated method stub
		return classificationMapper.update_three_Classification(three);
	}

	

	
	
}
